package com.cykj.enterprise.service;

import com.cykj.common.dto.ResponseDTO;
import com.cykj.common.entity.HrDO;
import com.cykj.common.entity.UserDO;
import com.cykj.enterprise.vo.HrVO;
import com.cykj.enterprise.vo.CompanyInfoVO;
import jakarta.servlet.http.HttpSession;
import org.springframework.web.multipart.MultipartFile;

public interface IHrService {
    ResponseDTO hrLogin(String account, String password,String code, HttpSession httpSession);

    ResponseDTO getValidateCodeImage(HttpSession httpSession);

    ResponseDTO register(HrVO hrVO, HttpSession httpSession);

    ResponseDTO getLoginInfo(int hrId);

    ResponseDTO updateInfo(HrDO hrDO);

    ResponseDTO getSubHrs(int companyId);

    ResponseDTO changeStatus(int hrId);

    ResponseDTO addSubHr(HrDO hrDO);

    ResponseDTO reviseUserImg(MultipartFile file);

    ResponseDTO getUserOnlineResume(int userId);

    UserDO getUserInfo(int userId);

    /**
    * @Description: 判断hr是否绑定公司,或hr是否已提交企业资质审核
    * @Param: [hrId]
    * @return: com.cykj.common.dto.ResponseDTO
    */
    ResponseDTO hrCompanyCheck();

    /**
    * @Description: 企业资质审核提交
    * @Param: [companyInfoVO]
    * @return: com.cykj.common.dto.ResponseDTO
    */
    ResponseDTO submitCompanyData(CompanyInfoVO companyInfoVO);

    ResponseDTO emailValidateCode(String address, HttpSession httpSession);
}
